package com.ssy.lingxi.order.model.vo.process.response;

import java.io.Serializable;
import java.util.List;

/**
 * 查询交易流程规则配置返回
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-24
 */
public class OrderTradeProcessDetailVO implements Serializable {
    private static final long serialVersionUID = 4299646356956353959L;

    /**
     * 交易流程规则Id
     */
    private Long processId;

    /**
     * 基础交易流程规则Id
     */
    private Long baseProcessId;

    /**
     * 流程类型，1-订单交易流程，2-售后换货流程，3-售后退货流程，4-售后维修流程，5-生产加工流程，6-直发客户自动二次发货
     */
    private Integer processType;

    /**
     * 交易流程规则名称
     */
    private String name;

    /**
     * 订单取消时间，保留1位小数（如果有小数）
     */
    private String expireHours;

    /**
     * 适用商城的Id
     */
    private Long shopId;

    /**
     * 适用商城类型枚举
     */
    private Integer shopType;

    /**
     * 适用商城环境枚举
     */
    private Integer shopEnvironment;

    /**
     * 是否使用电子合同, true-是，false-否
     */
    private Boolean hasContract;

    /**
     * 合同信息，如使用电子合同不为空
     */
    private OrderTradeProcessContractDetailVO contract;

    /**
     * 是否适用所有商品，true-是，false否
     */
    private Boolean allProducts;

    /**
     * 支付配置列表
     */
    private List<OrderTradeProcessPaymentDetailGroupVO> payments;

    public Long getProcessId() {
        return processId;
    }

    public void setProcessId(Long processId) {
        this.processId = processId;
    }

    public Long getBaseProcessId() {
        return baseProcessId;
    }

    public void setBaseProcessId(Long baseProcessId) {
        this.baseProcessId = baseProcessId;
    }

    public Integer getProcessType() {
        return processType;
    }

    public void setProcessType(Integer processType) {
        this.processType = processType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExpireHours() {
        return expireHours;
    }

    public void setExpireHours(String expireHours) {
        this.expireHours = expireHours;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }

    public Integer getShopEnvironment() {
        return shopEnvironment;
    }

    public void setShopEnvironment(Integer shopEnvironment) {
        this.shopEnvironment = shopEnvironment;
    }

    public Boolean getHasContract() {
        return hasContract;
    }

    public void setHasContract(Boolean hasContract) {
        this.hasContract = hasContract;
    }

    public OrderTradeProcessContractDetailVO getContract() {
        return contract;
    }

    public void setContract(OrderTradeProcessContractDetailVO contract) {
        this.contract = contract;
    }

    public Boolean getAllProducts() {
        return allProducts;
    }

    public void setAllProducts(Boolean allProducts) {
        this.allProducts = allProducts;
    }

    public List<OrderTradeProcessPaymentDetailGroupVO> getPayments() {
        return payments;
    }

    public void setPayments(List<OrderTradeProcessPaymentDetailGroupVO> payments) {
        this.payments = payments;
    }
}
